package cn.lyp.feignclient;

import cn.lyp.domain.Store;
import cn.lyp.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "store-server",fallbackFactory = StoreFeignFallBackFactory.class)
public interface IStoreFeignClient {

    @PostMapping("/store/add")
    public AjaxResult add(@RequestBody Store store);



}
